<template>
  <div >
    <img
    :src="isHttp(details.imgUrl)"
        alt=""
        class="w-100"
        style="height: 450px;"
      />
    <div id="crumbs" class="max-1200">
      <img
        src="@/assets/icon/weizhi.png"
        alt=""
        class="ic"
      />

      <a href="/">{{globalLanguage.languageSuffix== 'Cn'?'首页':'Главная страница'}}</a> &gt;

      <!-- <router-link to="/" class="tit">首页</router-link> -->
      <a >{{globalLanguage.languageSuffix== 'Cn'?'展会专线':'Специальная линия выставки'}}</a> &gt;
      <router-link to="/exhibition/logistice"> {{
          globalLanguage.languageSuffix === "Cn"
            ? "展会物流简介/介绍"
            : "Описание / презентация выставки"
        }}</router-link>
   
    </div>

    <h2 class="title1">
       {{ details['title' + globalLanguage.languageSuffix]}}
      </h2>
      <p><br /></p>
      <div class="detail max-1200" style="line-height: 50px">
      <p v-html="details['desc' + globalLanguage.languageSuffix]"  style="margin-bottom: 50px">
      
      </p>
    </div>
  </div>
</template>

<script setup>
import { detailsText } from "@/api/alltext.js";
import { ref } from "vue";

const details = ref([]);
const getText = async () => {
  try {
    const response = await detailsText(1);
    details.value = response.list[0];
    
  } catch (error) {
    console.error("获取数据失败:", error);
  }
};
getText();
</script>

<style>

</style>
